package com.thz.system.service.pdf;

import com.thz.common.dto.pdf.ConversionDocxToPdfRequestDTO;
import com.thz.common.dto.pdf.ConversionDocxToPdfResponseDTO;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * DOCX 转 PDF 服务接口
 */
public interface IConversionDocxToPdfService {

    ConversionDocxToPdfResponseDTO convertDocxToPdf(MultipartFile file,
                                                   ConversionDocxToPdfRequestDTO requestDTO,
                                                   String ipAddress);

    ConversionDocxToPdfResponseDTO getConversionRecord(Long id);

    List<ConversionDocxToPdfResponseDTO> getRecentConversions(int limit);

    void deleteConversion(Long id);
}

